require(["common", "hash_routie", "coAjax", "queryString", "jQuery", "browser", "href"], function(jSouper, hash_routie, coAjax, QueryString, $, browser, href) {
	/*
	 * HASH路由
	 */
	hash_routie({
		html_url: "./pages/mb/admin/",
		js_url: "./js/mobile/admin/",
		hash_prefix: "default/:page",
		default_hash: "order",
		teleporter: "main"
	});
	coAjax.get(appConfig.bus.loginer, function(data) {
		busInfo = data.result;
		App.set("bus_loginer", busInfo);
		// console.log(busInfo);
	}, function(errorCode) {
		console.log(errorCode);
		switch (errorCode) {
			case "JSON Parse Error":

				break;
			default:
				href.toBusLogin();
		}
	});
	//届时会换成"/"+appConfig.bus_id
	App.set("base_url", "");
});